import java.util.Scanner;

public class Text_5 {
    public static void main(String[] args){
        Scanner reader = new Scanner(System.in);
        System.out.println("请输入您的五个成绩:");
        int i = 5;
        int num = 0;
        while(i < 10){
            int point = reader.nextInt();
            if (point <0 || point > 100){
                System.out.println("该成绩有误，不列入计算");
            }
            else{
                num += point;
            }
            i++;
        }
        System.out.println("总成绩为："+num);
    }
}
